global infile "DataMain.dta"

	 
* Desc stat, weeks with more than seven days

use "DataDaily", clear
keep if home == 31
keep if (year == 2012 & moy == 12) | (year == 2013 & moy == 1)
sort date
tab week
keep if week == 25 | week == 26


* Table 1 observation statistics

use "$infile", clear
drop if dupindicator == 1

unique(home)
unique(addresslet)
unique(address)
unique(block)
unique(week)

forvalues i = 1(1)3 {
	unique(home) if cohort == `i'
	unique(addresslet) if cohort == `i'
	unique(address) if cohort == `i'
	unique(block) if cohort == `i'
	unique(week) if cohort == `i'
}
